package com.rayc.mall.api.client;

import com.rayc.mall.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Set;

/**
 * @Author: Ray-C
 * @CreateTime: 2025-03-25
 * @Description: cart服务远程调用client
 * @Version: 1.0
 */
@FeignClient("mall-cart")
public interface CartClient {
    @DeleteMapping("/carts/delete")
    Result<String> removeByItemIds(@RequestParam Set<Long> ids);
}
